package cn.iocoder.yudao.module.wine.controller.admin.countnameconfig.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import javax.validation.constraints.*;

@Schema(description = "管理后台 - 统计名称配置新增/修改 Request VO")
@Data
public class CountNameConfigSaveReqVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "30216")
    private Long id;

    @Schema(description = "分组号", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "分组号不能为空")
    private Integer groupNumber;

    @Schema(description = "统计名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "芋艿")
    @NotEmpty(message = "统计名称不能为空")
    private String countName;

    @Schema(description = "是否可见", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "是否可见不能为空")
    private Integer visible;

    @Schema(description = "排序字段", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "排序字段不能为空")
    private Integer sort;

    @Schema(description = "容错名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "李四")
    @NotEmpty(message = "容错名称不能为空")
    private String failoverName;

    @Schema(description = "年份", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "年份不能为空")
    private Integer showYear;

    @Schema(description = "包装", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "包装不能为空")
    private Integer packing;

    @Schema(description = "香型", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "香型不能为空")
    private Integer fragranceType;

    @Schema(description = "酒类id", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "酒类id不能为空")
    private Integer supplyTypeId;

    @Schema(description = "是否自动审核参与统计", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "是否自动审核参与统计")
    private Integer isAudit;
}
